package net.sk.china.front.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.sk.china.common.vo.AliPayJsResultVo;
import net.sk.china.common.vo.WxPayJsResultVo;

import java.io.Serializable;

/**
 * 支付结果 Response
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/4 17:38
 * +----------------------------------------------------------------------
 */

@Data
public class PayResultResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "微信调起支付参数对象")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private WxPayJsResultVo wxPayConfig;

    @ApiModelProperty(value = "支付类型")
    private String payType;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "订单支付宝支付")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String aliPayRequest;

    @ApiModelProperty(value = "支付宝调起支付参数对象（app支付专用）")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private AliPayJsResultVo aliPayConfig;
}